<?php echo $header; ?>
<div class="container make-bg">
<?php echo $content_top; ?>

            <ul class="breadcrumb">
               <?php foreach ($breadcrumbs as $breadcrumb) { ?>
          <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
          <?php } ?>
            </ul>
            
        <div class="row">
            
      <div class="span9 post">

        <div class="row-fluid">
                  <div class="span12">
                    <h2 class="page-header">Wishlist</h2>
                    <div class="sidebar-line"><span></span></div>
                        <?php if ($products) { ?>
                        <table class="table wishlist table-hover table-bordered">
                          <thead>
                           <tr>
                              <td class="image hide-phone"><?php echo $column_image; ?></td>
                              <td class="name"><?php echo $column_name; ?></td>
                              <td class="model hide-phone"><?php echo $column_model; ?></td>
                              <td class="stock"><?php echo $column_stock; ?></td>
                              <td class="price"><?php echo $column_price; ?></td>
                              <td class="action"><?php echo $column_action; ?></td>
                            </tr>
                          </thead>
                          <tbody>
                           <?php foreach ($products as $product) { ?>
                           <tr>
                            <td class="image"><?php if ($product['thumb']) { ?>
                              <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a>
                              <?php } ?></td>
                            <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
                            <td class="model hide-phone"><?php echo $product['model']; ?></td>
                            <td class="stock"><?php echo $product['stock']; ?></td>
                            <td class="price"><?php if ($product['price']) { ?>
                              <div class="price">
                                <?php if (!$product['special']) { ?>
                                <?php echo $product['price']; ?>
                                <?php } else { ?>
                                <s><?php echo $product['price']; ?></s> <b><?php echo $product['special']; ?></b>
                                <?php } ?>
                              </div>
                              <?php } ?></td>
                            <td class="action"><img src="catalog/view/theme/bistro/image/cart-add.png" alt="<?php echo $button_cart; ?>" title="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" />&nbsp;&nbsp;<a href="<?php echo $product['remove']; ?>"><img src="catalog/view/theme/bistro/image/remove.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td>
                          </tr>
                        <?php } ?>
                          </tbody>  
                        </table>
                        <div class="right">
                        <a href="<?php echo $continue; ?>" class="btn btn-primary btn-general"><?php echo $button_continue; ?></a> 
                        <a href="<?php echo $checkout; ?>" class="btn btn-primary btn-general"><?php echo $text_checkout_page ?></a>
                    </div>
                     <?php } else { ?>
                    <div class="content"><?php echo $text_empty; ?></div>
                    <div class="buttons">
                      <div class="right"><a href="<?php echo $continue; ?>" class="btn btn-primary btn-general button"><?php echo $button_continue; ?></a></div>
                    </div>
                    <?php } ?>
          </div>
                </div>

  </div>
            
      <div class="span3 sidebar">
      <div class="widget">
        <h2 class="widget-title"><span>User Pages</span></h2>
        <div class="sidebar-line"><span></span></div>
          <ul class="nav nav-list bs-docs-sidenav">
              <li><a href="<?php echo $account; ?>"><?php echo $text_account_page ?></a></li>
              <li><a href="<?php echo $edit; ?>"><?php echo $text_edit; ?></a></li>
              <li><a href="<?php echo $password; ?>"><?php echo $text_password; ?></a></li>
              <li><a href="<?php echo $address; ?>"><?php echo $text_address; ?></a></li>
              <li class="active"><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist_page; ?></a></li>
              <li><a href="<?php echo $cart; ?>"><?php echo $text_cart_page ?></a></li>
              <li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout_page ?></a></li>
              <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
              <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
              <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
              <li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li>
              <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
        </ul>
                </div>
                
                 <?php echo $column_right; ?>
      </div>
    </div>
 <?php echo $content_bottom; ?>
</div>
<?php echo $footer; ?>  


